package com.meilai.project.mapper.personnel.attendance;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.dto.personnel.attendance.OvertimeApplyDTO;
import com.meilai.project.entity.personnel.attendance.OvertimeApply;
import com.meilai.project.vo.personnel.attendance.OvertimeApplyVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OvertimeApplyMapper extends BaseMapper<OvertimeApply> {
    List<OvertimeApplyVO> selectPageList(Page<OvertimeApplyVO> page, @Param("userId") Long userId);

    List<OvertimeApplyVO> checkPageList(Page<OvertimeApplyVO> page);

    OvertimeApplyDTO getDtoById(@Param("flow_id") Long flow_id);
}
